package com.mspbots.attendance.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * com.mspbots.core.enums.AttendanceTypeEnum
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/9/16
 */
public enum AttendanceTypeEnum implements IEnum {

    /**
     * user for IN
     */
    IN(1),
    /**
     * user for TARDY
     */
    TARDY(5),
    /**
     * user for BREAK
     */
    BREAK(10),
    /**
     * user  BACK_FROM_BREAK
     */
    BACK_FROM_BREAK(11),
    /**
     * user LUNCH
     */
    LUNCH(20),
    /**
     * user BACK FROM LUNCH
     */
    BACK_FROM_LUNCH(21),
    /**
     * user  BOTOUT
     */
    BOTOUT(90),
    /**
     * user  OUT
     */
    OUT(99);

    private int value;

    AttendanceTypeEnum(int value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

}
